package com.qfjy.homework.zhangquanmin;

/**
 * @author : ZQM
 * @version : 1.0
 * @date : 2022/11/10 19:16
 *
 * 代理对象
 */
public class Monitor implements HomeWork{

    private HomeWork homeWork;

    public Monitor(HomeWork homeWork) {
        this.homeWork = homeWork;
    }

    @Override
    public void getHomeWork() {
        this.homeWork.getHomeWork();
    }
}

